package csm.sql;

import java.sql.Types;

import csm.sql.annotation.ColumnMapping;
import csm.sql.annotation.TableMapping;

@TableMapping(tableName = "acq_node")
public class ExampleEntity extends ObjectMappedEntityBase
{
	private String node;

	@ColumnMapping(columnName = "node", type = Types.VARCHAR, isPk = true)
	public String getNode()
	{
		return node;
	}

	@ColumnMapping(columnName = "node", type = Types.VARCHAR, isPk = true)
	public void setNode(String node)
	{
		this.node = node;
	}

	@ColumnMapping(columnName = "node_name", type = Types.VARCHAR)
	public String getNodeName()
	{
		return nodeName;
	}

	@ColumnMapping(columnName = "node_name", type = Types.VARCHAR)
	public void setNodeName(String nodeName)
	{
		this.nodeName = nodeName;
	}

	private String nodeName;

}
